package com;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Test1 {//
    public static void main(String[] args) {
        Map<String, String> map = new HashMap();//
        map.put("小龙女", "杨过");//
        map.put("皇后", "皇上");//
        map.put("王母娘娘", "玉皇大帝");//
        Set<Map.Entry<String, String>> entries = map.entrySet();//
        for (Map.Entry<String, String> entry : entries) {//
            String key = entry.getKey();//
            String value = entry.getValue();//
            System.out.println(key + value);//
        }

    }
}
